<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GraphPaths: Riferimenti per la classe grafo</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GraphPaths
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Creazione di grafi e calcolo dei percorsi minimi</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classi</span></a></li>
      <li><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Elenco&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="classes.html"><span>Indice&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="hierarchy.html"><span>Gerarchia&#160;delle&#160;classi</span></a></li>
      <li><a href="functions.html"><span>Membri&#160;dei&#160;composti</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Ridefinizioni di tipo (typedef)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Membri pubblici</a> &#124;
<a href="classgrafo-members.html">Elenco di tutti i membri</a>  </div>
  <div class="headertitle">
<div class="title">Riferimenti per la classe grafo</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="backup_2grafo_8h_source.html">grafo.h</a>&gt;</code></p>
<div class="dynheader">
Diagramma delle classi per grafo</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgrafo.png" usemap="#grafo_map" alt=""/>
  <map id="grafo_map" name="grafo_map">
<area href="classelemento__ui.html" alt="elemento_ui" shape="rect" coords="0,0,79,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Membri pubblici</h2></td></tr>
<tr class="memitem:a8146df4f6a3e711f7e4366a792cc83f8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a8146df4f6a3e711f7e4366a792cc83f8">grafo</a> ()</td></tr>
<tr class="separator:a8146df4f6a3e711f7e4366a792cc83f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d366856753e708de92e986896000b86"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a9d366856753e708de92e986896000b86">~grafo</a> ()</td></tr>
<tr class="separator:a9d366856753e708de92e986896000b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17291e1ad596cd358fd18194457d8bc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a17291e1ad596cd358fd18194457d8bc3">inizializza</a> ()</td></tr>
<tr class="separator:a17291e1ad596cd358fd18194457d8bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf729f7defc15b05603e24358fcd54b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classelemento__ui.html">elemento_ui</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#aaf729f7defc15b05603e24358fcd54b4">find_by_xy</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:aaf729f7defc15b05603e24358fcd54b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f6984a30df632d9aa4e05ec3660177"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#ac3f6984a30df632d9aa4e05ec3660177">seleziona</a> (<a class="el" href="classnodo.html">nodo</a> *<a class="el" href="classnodo.html">nodo</a>)</td></tr>
<tr class="separator:ac3f6984a30df632d9aa4e05ec3660177"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9748acb370d3cb56ff0519ae89dc7f45"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a9748acb370d3cb56ff0519ae89dc7f45">seleziona</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a9748acb370d3cb56ff0519ae89dc7f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef66a753d459407e20cd6276a8b1a18c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnodo.html">nodo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#aef66a753d459407e20cd6276a8b1a18c">get_selezionato</a> ()</td></tr>
<tr class="separator:aef66a753d459407e20cd6276a8b1a18c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a275dd882f1eb962f14c54e1e4c157e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnodo.html">nodo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a0a275dd882f1eb962f14c54e1e4c157e">aggiungi_nodo</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a0a275dd882f1eb962f14c54e1e4c157e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7479df7e630a8c5dccc2b0815ec56219"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a7479df7e630a8c5dccc2b0815ec56219">aggiungi_arco</a> (<a class="el" href="classnodo.html">nodo</a> *destinazione)</td></tr>
<tr class="separator:a7479df7e630a8c5dccc2b0815ec56219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ea9ae437da75ff7131f8b6247da03a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a4ea9ae437da75ff7131f8b6247da03a8">lmb_premuto</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a4ea9ae437da75ff7131f8b6247da03a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a894e66c88f5f7daa8f7e159ace919a2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a894e66c88f5f7daa8f7e159ace919a2c">lmb_rilasciato</a> ()</td></tr>
<tr class="separator:a894e66c88f5f7daa8f7e159ace919a2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36072a1fdf03d11f10471eb095758dcd"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a36072a1fdf03d11f10471eb095758dcd">is_dragging</a> ()</td></tr>
<tr class="separator:a36072a1fdf03d11f10471eb095758dcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a385f1046154a45cd718820781dcfa0e1"><td class="memItemLeft" align="right" valign="top">GSList *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a385f1046154a45cd718820781dcfa0e1">get_nodi</a> ()</td></tr>
<tr class="separator:a385f1046154a45cd718820781dcfa0e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a775d29c0417639270e8df7fbe6cfe514"><td class="memItemLeft" align="right" valign="top">GSList *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a775d29c0417639270e8df7fbe6cfe514">get_archi</a> ()</td></tr>
<tr class="separator:a775d29c0417639270e8df7fbe6cfe514"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba8b260da800a204414b7f2ec3c357de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#aba8b260da800a204414b7f2ec3c357de">prepara</a> ()</td></tr>
<tr class="separator:aba8b260da800a204414b7f2ec3c357de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab55a3eb1be952995085f981f3e1c793f"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#ab55a3eb1be952995085f981f3e1c793f">get_numero_nodi</a> ()</td></tr>
<tr class="separator:ab55a3eb1be952995085f981f3e1c793f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07da9df8ea9cc1bdf63699fdaf86e864"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a07da9df8ea9cc1bdf63699fdaf86e864">salva</a> (const char *file)</td></tr>
<tr class="separator:a07da9df8ea9cc1bdf63699fdaf86e864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5c23001f16eab10912798f7746c8701"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#ab5c23001f16eab10912798f7746c8701">carica</a> (const char *file)</td></tr>
<tr class="separator:ab5c23001f16eab10912798f7746c8701"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab70f275f702010df9ba2217de59a28ce"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#ab70f275f702010df9ba2217de59a28ce">draw</a> (cairo_t *&amp;cr)</td></tr>
<tr class="separator:ab70f275f702010df9ba2217de59a28ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43a038c4b68799daa85f926c2159ea1c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrafo.html#a43a038c4b68799daa85f926c2159ea1c">update</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a43a038c4b68799daa85f926c2159ea1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classelemento__ui"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classelemento__ui')"><img src="closed.png" alt="-"/>&#160;Membri pubblici ereditati da <a class="el" href="classelemento__ui.html">elemento_ui</a></td></tr>
<tr class="memitem:a40f5ef1a30a1217ca84e1f775090b4c7 inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a40f5ef1a30a1217ca84e1f775090b4c7">elemento_ui</a> ()</td></tr>
<tr class="separator:a40f5ef1a30a1217ca84e1f775090b4c7 inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0493292b0282a61b57f6ff651db628cf inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a0493292b0282a61b57f6ff651db628cf">~elemento_ui</a> ()</td></tr>
<tr class="separator:a0493292b0282a61b57f6ff651db628cf inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98e7ad302abc1681a5e0a7b1facd3213 inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a98e7ad302abc1681a5e0a7b1facd3213">get_x</a> ()</td></tr>
<tr class="separator:a98e7ad302abc1681a5e0a7b1facd3213 inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b50d6b0afb4411c652e77b67760ecd1 inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a7b50d6b0afb4411c652e77b67760ecd1">set_x</a> (gdouble val)</td></tr>
<tr class="separator:a7b50d6b0afb4411c652e77b67760ecd1 inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae644078c8941aea0553894201b8df3ad inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#ae644078c8941aea0553894201b8df3ad">get_y</a> ()</td></tr>
<tr class="separator:ae644078c8941aea0553894201b8df3ad inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86e8479239496c2924b68283a553a541 inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a86e8479239496c2924b68283a553a541">set_y</a> (gdouble val)</td></tr>
<tr class="separator:a86e8479239496c2924b68283a553a541 inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ab317999e0e0fd8e387518507356731 inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a9ab317999e0e0fd8e387518507356731">is_selected</a> ()</td></tr>
<tr class="separator:a9ab317999e0e0fd8e387518507356731 inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7295f173d10999017bdb75367c6cb413 inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a7295f173d10999017bdb75367c6cb413">set_selected</a> (gboolean val)</td></tr>
<tr class="separator:a7295f173d10999017bdb75367c6cb413 inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06eb5f5ee083b2dabae7076d98b9bc38 inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a06eb5f5ee083b2dabae7076d98b9bc38">is_over</a> ()</td></tr>
<tr class="separator:a06eb5f5ee083b2dabae7076d98b9bc38 inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7d306f0eac122a5bc03513e1bdeed8a inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#ae7d306f0eac122a5bc03513e1bdeed8a">set_over</a> (gboolean val)</td></tr>
<tr class="separator:ae7d306f0eac122a5bc03513e1bdeed8a inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62a5a16895f32430e1e3b6918960ffbc inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a62a5a16895f32430e1e3b6918960ffbc">set_over</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a62a5a16895f32430e1e3b6918960ffbc inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90d114a53ee426d0b8860b6d2d9b0cfb inherit pub_methods_classelemento__ui"><td class="memItemLeft" align="right" valign="top">virtual gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a90d114a53ee426d0b8860b6d2d9b0cfb">intersect</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a90d114a53ee426d0b8860b6d2d9b0cfb inherit pub_methods_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Altri membri ereditati</h2></td></tr>
<tr class="inherit_header pro_attribs_classelemento__ui"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classelemento__ui')"><img src="closed.png" alt="-"/>&#160;Attributi protetti ereditati da <a class="el" href="classelemento__ui.html">elemento_ui</a></td></tr>
<tr class="memitem:a819a2d328d2634ac037d42c7830023ca inherit pro_attribs_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a></td></tr>
<tr class="memdesc:a819a2d328d2634ac037d42c7830023ca inherit pro_attribs_classelemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata X dell'oggetto.  <a href="#a819a2d328d2634ac037d42c7830023ca">Continua...</a><br/></td></tr>
<tr class="separator:a819a2d328d2634ac037d42c7830023ca inherit pro_attribs_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c322c97f219f4e15fdf683cbe14c447 inherit pro_attribs_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a></td></tr>
<tr class="memdesc:a9c322c97f219f4e15fdf683cbe14c447 inherit pro_attribs_classelemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata Y dell'oggetto.  <a href="#a9c322c97f219f4e15fdf683cbe14c447">Continua...</a><br/></td></tr>
<tr class="separator:a9c322c97f219f4e15fdf683cbe14c447 inherit pro_attribs_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85bb78cff2e277cefa95cc51919abfa2 inherit pro_attribs_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a85bb78cff2e277cefa95cc51919abfa2">selected</a></td></tr>
<tr class="memdesc:a85bb78cff2e277cefa95cc51919abfa2 inherit pro_attribs_classelemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se l'oggetto è stato selezionato.  <a href="#a85bb78cff2e277cefa95cc51919abfa2">Continua...</a><br/></td></tr>
<tr class="separator:a85bb78cff2e277cefa95cc51919abfa2 inherit pro_attribs_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fd98a4e3bcaaf3aecd3b9c8785ea398 inherit pro_attribs_classelemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a6fd98a4e3bcaaf3aecd3b9c8785ea398">over</a></td></tr>
<tr class="memdesc:a6fd98a4e3bcaaf3aecd3b9c8785ea398 inherit pro_attribs_classelemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se il mouse si trova sopra all'oggetto.  <a href="#a6fd98a4e3bcaaf3aecd3b9c8785ea398">Continua...</a><br/></td></tr>
<tr class="separator:a6fd98a4e3bcaaf3aecd3b9c8785ea398 inherit pro_attribs_classelemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Documentazione dei costruttori e dei distruttori</h2>
<a class="anchor" id="a8146df4f6a3e711f7e4366a792cc83f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">grafo::grafo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Default constructor </p>

</div>
</div>
<a class="anchor" id="a9d366856753e708de92e986896000b86"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">grafo::~grafo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Default destructor </p>

</div>
</div>
<h2 class="groupheader">Documentazione delle funzioni membro</h2>
<a class="anchor" id="a7479df7e630a8c5dccc2b0815ec56219"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::aggiungi_arco </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classnodo.html">nodo</a> *&#160;</td>
          <td class="paramname"><em>destinazione</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Aggiunge un arco tra due nodi esistenti. L'arco di origine è sempre il nodo correntemente selezionato, mentre il nodo di destinazione può variare. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">destinazione</td><td><a class="el" href="classNodo.html">Nodo</a> di destinazione </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0a275dd882f1eb962f14c54e1e4c157e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnodo.html">nodo</a> * grafo::aggiungi_nodo </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Aggiunge un nodo al grafo </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>coordinata X alla quale crearlo </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>coordinata Y alla quale crearlo </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>Il nodo appena creato e aggiunto alla lista </dd></dl>

</div>
</div>
<a class="anchor" id="ab5c23001f16eab10912798f7746c8701"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::carica </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Carica il grafo da un file. L'eventuale contenuto corrente del grafo viene scartato. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>Nome del file dal quale caricare il contenuto del grafo. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab70f275f702010df9ba2217de59a28ce"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::draw </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&amp;&#160;</td>
          <td class="paramname"><em>cr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Disegna l'oggetto. </p>

<p>Reimplementa <a class="el" href="classelemento__ui.html#a34b59ae1d798f0e2b7f83b5f109b8144">elemento_ui</a>.</p>

</div>
</div>
<a class="anchor" id="aaf729f7defc15b05603e24358fcd54b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classelemento__ui.html">elemento_ui</a> * grafo::find_by_xy </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Trova il nodo posto alle coordinate indicate. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Coordinata X del punto </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Coordinata Y del punto </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>Elemento grafico alle coordinate selezionate, NULL se nessun elemento giace al loro interno. </dd></dl>

</div>
</div>
<a class="anchor" id="a775d29c0417639270e8df7fbe6cfe514"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GSList* grafo::get_archi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce la lista di adiacenze </p>
<dl class="section return"><dt>Restituisce</dt><dd>Lista di <a class="el" href="classarco.html">arco</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a385f1046154a45cd718820781dcfa0e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GSList* grafo::get_nodi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce la lista dei nodi </p>
<dl class="section return"><dt>Restituisce</dt><dd>Lista di <a class="el" href="classnodo.html">nodo</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab55a3eb1be952995085f981f3e1c793f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint grafo::get_numero_nodi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Restituisce il numero di nodi presenti nel grafo </p>
<dl class="section return"><dt>Restituisce</dt><dd>Numero di nodi presenti nel grafo </dd></dl>

</div>
</div>
<a class="anchor" id="aef66a753d459407e20cd6276a8b1a18c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnodo.html">nodo</a> * grafo::get_selezionato </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Cerca e restituisce il nodo selezionato. </p>
<dl class="section return"><dt>Restituisce</dt><dd>Il nodo correntemente in stato selezionato. </dd></dl>

</div>
</div>
<a class="anchor" id="a17291e1ad596cd358fd18194457d8bc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::inizializza </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inizializza il grafo vuoto </p>

</div>
</div>
<a class="anchor" id="a36072a1fdf03d11f10471eb095758dcd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gboolean grafo::is_dragging </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calcola se siamo durante un'operazione di trascinamento del mouse. </p>
<dl class="section return"><dt>Restituisce</dt><dd>TRUE se si sta trascinando il mouse con il pulsante sinistro premuto, FALSE altrimenti </dd></dl>

</div>
</div>
<a class="anchor" id="a4ea9ae437da75ff7131f8b6247da03a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::lmb_premuto </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Segnala all'oggetto corrente la pressione del pulsante sinistro del mouse. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Coordinata X in cui è stato premuto il pulsante del mouse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Coordinata Y in cui è stato premuto il pulsante del mouse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a894e66c88f5f7daa8f7e159ace919a2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::lmb_rilasciato </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>segnala all'oggetto il rilascio del pulsante sinistro del mouse. </p>

</div>
</div>
<a class="anchor" id="aba8b260da800a204414b7f2ec3c357de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::prepara </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Prepara i nodi all'esecuzione degli algoritmi di Djkstra o <a class="el" href="classBellmanFord.html">BellmanFord</a>. Imposta tutte le distanze a infinito e elimina tutti i percorsi. </p>

</div>
</div>
<a class="anchor" id="a07da9df8ea9cc1bdf63699fdaf86e864"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::salva </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Salva il grafo su un file. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>Nome del file sul quale scrivere il contenuto del grafo. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac3f6984a30df632d9aa4e05ec3660177"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::seleziona </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classnodo.html">nodo</a> *&#160;</td>
          <td class="paramname"><em>nodo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Seleziona il nodo </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nodo</td><td><a class="el" href="classNodo.html">Nodo</a> da selezionare </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9748acb370d3cb56ff0519ae89dc7f45"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::seleziona </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Seleziona il nodo presente alle coordinate specificate. Se le coordinate specificate corrispondono ad un nodo esistente, questo diviene la selezione corrente, altrimenti la selezione rimane inalterata. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Coordinata X </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Coordinata Y </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a43a038c4b68799daa85f926c2159ea1c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grafo::update </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Aggiorna lo stato dell'oggetto. Questa funzione viene chiamata ad ogni evento del mouse, in modo che ogni oggetto possa aggiornarsi. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>La coordinata X corrente del mouse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>La coordinata Y corrente del mouse </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplementa <a class="el" href="classelemento__ui.html#a5f9504ff39d4de94d48394fae6265ec9">elemento_ui</a>.</p>

</div>
</div>
<hr/>La documentazione per questa classe è stata generata a partire dai seguenti file:<ul>
<li>backup/<a class="el" href="backup_2grafo_8h_source.html">grafo.h</a></li>
<li>backup/<a class="el" href="backup_2grafo_8cc.html">grafo.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 1 Lug 2014 08:14:03 per GraphPaths da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
